package cn.tedu.boot09.entity;

public class Emp {
    private Integer id;
    private String name;
    private String job;
    private Double salary;
    private Integer mId;

    public Emp() {
    }

    public Emp(Integer id, String name,String job,  Double salary, Integer mId) {
        this.id = id;
        this.name = name;
        this.job = job;
        this.salary = salary;
        this.mId = mId;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return job
     */
    public String getJob() {
        return job;
    }

    /**
     * 设置
     * @param job
     */
    public void setJob(String job) {
        this.job = job;
    }

    /**
     * 获取
     * @return salary
     */
    public Double getSalary() {
        return salary;
    }

    /**
     * 设置
     * @param salary
     */
    public void setSalary(Double salary) {
        this.salary = salary;
    }

    /**
     * 获取
     * @return mId
     */
    public Integer getMId() {
        return mId;
    }

    /**
     * 设置
     * @param mId
     */
    public void setMId(Integer mId) {
        this.mId = mId;
    }

    public String toString() {
        return "Emp{id = " + id + ", name = " + name + ", job = " + job + ", salary = " + salary + ", mId = " + mId + "}";
    }
}
